#ifndef __TESTPROJ_H__
#define __TESTPROJ_H__

#include "TED.h"
#include "Random_Tree_Generator.h"


class TestProj
{
	ofstream result;// results from the run of TED should be all equal.
	ofstream rtime;// the time each algorithm ran
	string path; // a directory path to the test directory
	bool ChooseAlgorithm[3];//indecates which algorithms to use
public:
	TestProj(string path , bool DMRW , bool Klien , bool Shasha_Zhang);
	//constructor - results is the file where to save all results and the path
	//to which all other thing will be saved (for example the randomly generated trees).
	//All other parameters indicate which algorithms to test
	void TestProjCreate(int rangeLimit, Distance* distance);
	//Create a test which will run rangeLimit ranfom trees using the distance metric
	void TestProjLoad(int amount, Distance* distance);
	//Loads amount test trees to be run.
	//IMPORTENT: all trees should be labeld
	//"Test0F.txt" , Test0G.txt", "Test1F.txt" , Test1G.txt", etc.
};

int getDigit(int num,int index);

#endif
